// samsting : this file is auto create.

#include "Ubsms-inner/2015-06-23/DescribeBusinessStatusResponse.h"

namespace aliyun { namespace Ubsms_inner {

DescribeBusinessStatusResponse::DescribeBusinessStatusResponse() {
}

const string& DescribeBusinessStatusResponse::UserBusinessStatus::Status::GetStatusKey(void) const {
  return StatusKey_;
}

const string& DescribeBusinessStatusResponse::UserBusinessStatus::Status::GetStatusValue(void) const {
  return StatusValue_;
}

const std::vector<DescribeBusinessStatusResponse::UserBusinessStatus::Status>& DescribeBusinessStatusResponse::UserBusinessStatus::GetStatuses(void) const {
  return Statuses_;
}

const string& DescribeBusinessStatusResponse::UserBusinessStatus::GetUid(void) const {
  return Uid_;
}

const string& DescribeBusinessStatusResponse::UserBusinessStatus::GetServiceCode(void) const {
  return ServiceCode_;
}

const std::vector<DescribeBusinessStatusResponse::UserBusinessStatus>& DescribeBusinessStatusResponse::GetUserBusinessStatusList(void) const {
  return UserBusinessStatusList_;
}

bool DescribeBusinessStatusResponse::GetSuccess(void) const {
  return Success_;
}

const char* DescribeBusinessStatusResponse::BaseKey(void) {
  return "DescribeBusinessStatusResponse";
}

void DescribeBusinessStatusResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int UserBusinessStatusList__length = 0;
  UnmarshallerInt(UserBusinessStatusList__length, response_map, "DescribeBusinessStatusResponse.UserBusinessStatusList.Length");
  if(UserBusinessStatusList__length >= 0) {
    UserBusinessStatusList_.resize(UserBusinessStatusList__length);
    for(int i1 = 0; i1 < UserBusinessStatusList__length; i1++) {
      int UserBusinessStatusList_i1_Statuses__length = 0;
      UnmarshallerInt(UserBusinessStatusList_i1_Statuses__length, response_map, "DescribeBusinessStatusResponse.UserBusinessStatusList[+"+string_ValueOfInt(i1)+"].Statuses.Length");
      if(UserBusinessStatusList_i1_Statuses__length >= 0) {
        UserBusinessStatusList_[i1].Statuses_.resize(UserBusinessStatusList_i1_Statuses__length);
        for(int i2 = 0; i2 < UserBusinessStatusList_i1_Statuses__length; i2++) {
          UnmarshallerString(UserBusinessStatusList_[i1].Statuses_[i2].StatusKey_, response_map, "DescribeBusinessStatusResponse.UserBusinessStatusList[+"+string_ValueOfInt(i1)+"].Statuses["+string_ValueOfInt(i2)+"].StatusKey");
          UnmarshallerString(UserBusinessStatusList_[i1].Statuses_[i2].StatusValue_, response_map, "DescribeBusinessStatusResponse.UserBusinessStatusList[+"+string_ValueOfInt(i1)+"].Statuses["+string_ValueOfInt(i2)+"].StatusValue");
        } // for(int i2 = 0; i2 < UserBusinessStatusList_i1_Statuses__length; i2++) {
      } // if(UserBusinessStatusList_i1_Statuses__length >= 0) {

      UnmarshallerString(UserBusinessStatusList_[i1].Uid_, response_map, "DescribeBusinessStatusResponse.UserBusinessStatusList["+string_ValueOfInt(i1)+"].Uid");
      UnmarshallerString(UserBusinessStatusList_[i1].ServiceCode_, response_map, "DescribeBusinessStatusResponse.UserBusinessStatusList["+string_ValueOfInt(i1)+"].ServiceCode");
    } // for(int i1 = 0; i1 < UserBusinessStatusList__length; i1++) {
  } // if(UserBusinessStatusList__length >= 0) {

  UnmarshallerBool(Success_, response_map, "DescribeBusinessStatusResponse.Success");
}


} } // namespace aliyun { namespace Ubsms_inner {

// end of file 
